package com.holyland.util;

import java.util.Random;

public class HolylandUtil {
	public static String generatePswd() {
		final String charset = "!0123456789abcdefghijklmnopqrstuvwxyz";
		
		Random rand = new Random(System.currentTimeMillis());
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < 10; i++) {
            int pos = rand.nextInt(charset.length());
            sb.append(charset.charAt(pos));
        }
        
        return sb.toString();
	}
}
